<?php /* Smarty version Smarty-3.0.8, created on 2011-07-08 16:54:15
         compiled from "E:\wamp\clases_tarda\Smarty\templates\templatesMp3\mp3\afegirPlaylist.tpl" */ ?>
<?php /*%%SmartyHeaderCode:256534e1736375eaf75-25675827%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '50b092244c77253c665f8a16f6c85a9a6c8b85fb' => 
    array (
      0 => 'E:\\wamp\\clases_tarda\\Smarty\\templates\\templatesMp3\\mp3\\afegirPlaylist.tpl',
      1 => 1310144021,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '256534e1736375eaf75-25675827',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
		<?php if (isset($_smarty_tpl->getVariable('playlists',null,true,false)->value)){?>
			<table>
			<?php  $_smarty_tpl->tpl_vars['pl'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('playlists')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['pl']->key => $_smarty_tpl->tpl_vars['pl']->value){
?>
				<form method="POST" action="/tardes/mp3/afegirPlaylist.php?playlistid=<?php echo $_smarty_tpl->tpl_vars['pl']->value['playlistid'];?>
" enctype="multipart/form-data">
					<tr><td><?php echo $_smarty_tpl->tpl_vars['pl']->value['titol'];?>
</td>
						<td><input type="submit" name="pl2" value="Seleccionar Playlist"/></td>
					</tr>
				</form>
			<?php }} ?>
				<form method="POST" action="/tardes/mp3/afegirPlaylist.php?playlistid=-1" enctype="multipart/form-data">
					<tr><td><input type="text" name="titol"/></td>
						<td><input type="submit" name="pl2" value="Crea Playlist"/></td>
					</tr>
				</form>
			</table>
		<?php }?>	